package com.saint.tvtest.Utils;


import java.util.Map;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.QueryMap;

/**
 * Created by Administrator on 2017/12/27.
 */

public interface HttpService {
    @GET("api/main")
    Call<String> requestMainBean();

    @GET("api/cats")
    Call<String> getCats();

    @GET("api/cats?")
    Call<String> getSubCats(@QueryMap Map<String,String> params);

    @GET("api/photos?")
    Call<String> getSubCatContent(@QueryMap Map<String,String> params);
}
